package com.atguigu.order.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author: change
 * @Date: 2025/04/15 17:29
 */
@FeignClient(value = "seata-account")
public interface AccountFeignClient {
	@GetMapping("/debit")
	public String debit(@RequestParam("userId") String userId,
	                    @RequestParam("money") int money);
}
